//
//  UserWebViewController.m
//  A_Project_DLS151129_SQ
//
//  Created by 151129-49宋强 on 16/1/26.
//  Copyright © 2016年 www.lanou3g.com蓝鸥. All rights reserved.
//

#import "UserWebViewController.h"

@interface UserWebViewController ()

@end

@implementation UserWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    //导航栏透明
//    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"guanzhu.png"] forBarMetrics:UIBarMetricsCompactPrompt];
//     self.navigationController.navigationBar.translucent = YES;
    [[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60)forBarMetrics:UIBarMetricsDefault];
    //加载webView
    UIWebView *wc = [[UIWebView alloc] initWithFrame:self.view.bounds];
    [wc loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://pianke.me/profile/%@/about",self.uid]]]];
    [self.view addSubview:wc];
    [wc release];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
